import { http } from "@/utils/request"
// 中奖记录
export const getDrawList = () => {
    return http({
        method: 'GET',
        url: `/app-api/worker/draw-record/getDrawList`
    })
}
// 查询抽奖次数
export const getDraw = (data: any) => {
    return http({
        method: 'POST',
        url: `/app-api/worker/draw-record/getDraw`,
        data
    })
}
// 抽奖(获的几等奖)
export const draw = (data: any) => {
    return http({
        method: 'POST',
        url: `/app-api/worker/draw-record/draw`,
        data
    })
}
// 发放奖励
export const drawRecord = (data: any) => {
    return http({
        method: 'POST',
        url: `/app-api/worker/draw-record/shzz`,
        data
    })
}